package com.example.xungeng2.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.xungeng2.pojo.User;

import java.util.ArrayList;

public interface UserService extends IService<User> {
    public User getUserInformation(String username);

    public boolean registerAdminUser(String username,String password);

    boolean setUserInformation(User user);

    boolean pipei(User user);

    boolean headerImageUpload(User user, String staticPath);

    User selectUserByUserName(String username);

    String selectUserRealNameById(Integer adminId);

    int selectXGUserStatus(Integer userId);

    User selectUserById(String valueOf);

    boolean xgUpdatePhotoUrl(Integer userId, String path);

    void changeUserState(String userId);

    ArrayList<User> selectAllUsers();
}
